package com.itheima.map;

import java.util.Map;
import java.util.TreeMap;

public class Demo01 {

    public static void main(String[] args) {
        // 键不能重复  值 可以重复
        Map<String ,String> map= new TreeMap<>();
        map.put("马蓉","宝强");
        map.put("马蓉","宋喆");
        map.put("小璐","乃亮");
        map.put("小璐","PGone");
        map.put("杨幂","凯威");
        map.put("某某某","凯威");
        System.out.println(map);




    }
}
